package com.dgsrz.demo.primitive;

import javax.microedition.khronos.opengles.GL10;

/**
 * Created by dgsrz on 15/7/2.
 */
public abstract class PrimitiveBase {

    private final GL10 mGLStateManager;

    protected PrimitiveBase(final GL10 glStateManager) {
        this.mGLStateManager = glStateManager;
    }

    protected final GL10 getGLStateManager() {
        return this.mGLStateManager;
    }

    protected abstract void drawPrimitives();
}
